package com.elink.enginerring.library.entity;

import io.swagger.annotations.ApiParam;

import java.util.Date;
import java.util.List;

import com.elink.enginerring.label.entity.Label;
import com.elink.enginerring.type.entity.Type;

public class Thesis {
	    private String thesisId;  //主键
	    
	    private Integer tcId;   //一级分类id
	    
	    private Integer scId; //二级分类id
	    
	    private Integer dcId; //三级分类id
	    
	    private Integer typeId; //论文类型
	    
	    private String name; //论文名称
	    
	    private Float size;//论文大小
	    
	    private Date uploadTime; //上传时间

	    private Integer downloadCount; //下载数
	    
	    private String labelIds; //标签ids

	    private Integer collectionCount;  //收藏数
	    
	    private Float price;  //论文价格
	    
	    private String userId;  //用户id
	    
	    private String path;   //下载路径
	    
	    private String previewPath;   //预览路径

	    private Integer commentCount;  //评论数

	    private Byte authStatus; //审核状态 ，0--审核中，1--审核通过，2--审核未通过

	    private Byte deleteStatus;//删除状态 0--未删除 ，1--删除
	    
	    private int cardinal;//基数
	    
	    private int browseCount; //浏览量
	    
	    private String introduction;//论文简介
	    
	    private String source;//来源
	    
	    private String author;//作者
	    
	    private String reference;//参考文献
	    
	    private int status;//是否是学位论文 0--不是 1--是，默认为0
	    
	    //关联
	    private Type type ;//论文格式 
	    
	    private List<Label> labelList; //标签
	    
	    public String getThesisId() {
	        return thesisId;
	    }

	    public void setThesisId(String thesisId) {
	        this.thesisId = thesisId == null ? null : thesisId.trim();
	    }

	    public Integer getTcId() {
	        return tcId;
	    }

	    public void setTcId(Integer tcId) {
	        this.tcId = tcId;
	    }

	    public Integer getScId() {
	        return scId;
	    }

	    public void setScId(Integer scId) {
	        this.scId = scId;
	    }

	    public Integer getTypeId() {
	        return typeId;
	    }

	    public void setTypeId(Integer typeId) {
	        this.typeId = typeId;
	    }

	    public String getName() {
	        return name;
	    }

	    public void setName(String name) {
	        this.name = name == null ? null : name.trim();
	    }

	    public Float getSize() {
	        return size;
	    }

	    public void setSize(Float size) {
	        this.size = size;
	    }

	    public Date getUploadTime() {
	        return uploadTime;
	    }

	    public void setUploadTime(Date uploadTime) {
	        this.uploadTime = uploadTime;
	    }

	    public Integer getDownloadCount() {
	        return downloadCount;
	    }

	    public void setDownloadCount(Integer downloadCount) {
	        this.downloadCount = downloadCount;
	    }

	    public String getLabelIds() {
	        return labelIds;
	    }

	    public void setLabelIds(String labelIds) {
	        this.labelIds = labelIds == null ? null : labelIds.trim();
	    }

	    public Integer getCollectionCount() {
	        return collectionCount;
	    }

	    public void setCollectionCount(Integer collectionCount) {
	        this.collectionCount = collectionCount;
	    }

	    public Float getPrice() {
	        return price;
	    }

	    public void setPrice(Float price) {
	        this.price = price;
	    }

	    public String getUserId() {
	        return userId;
	    }

	    public void setUserId(String userId) {
	        this.userId = userId == null ? null : userId.trim();
	    }

	    public String getPath() {
	        return path;
	    }

	    public void setPath(String path) {
	        this.path = path == null ? null : path.trim();
	    }

	    public String getPreviewPath() {
	        return previewPath;
	    }

	    public void setPreviewPath(String previewPath) {
	        this.previewPath = previewPath == null ? null : previewPath.trim();
	    }

	    public Integer getCommentCount() {
	        return commentCount;
	    }

	    public void setCommentCount(Integer commentCount) {
	        this.commentCount = commentCount;
	    }

	    public Byte getAuthStatus() {
	        return authStatus;
	    }

	    public void setAuthStatus(Byte authStatus) {
	        this.authStatus = authStatus;
	    }

	    public Byte getDeleteStatus() {
	        return deleteStatus;
	    }

	    public void setDeleteStatus(Byte deleteStatus) {
	        this.deleteStatus = deleteStatus;
	    }

		public int getCardinal() {
			return cardinal;
		}

		public void setCardinal(int cardinal) {
			this.cardinal = cardinal;
		}

		public int getBrowseCount() {
			return browseCount;
		}

		public void setBrowseCount(int browseCount) {
			this.browseCount = browseCount;
		}

		public String getIntroduction() {
			return introduction;
		}

		public void setIntroduction(String introduction) {
			this.introduction = introduction;
		}

		public Type getType() {
			return type;
		}

		public void setType(Type type) {
			this.type = type;
		}

		public List<Label> getLabelList() {
			return labelList;
		}

		public void setLabelList(List<Label> labelList) {
			this.labelList = labelList;
		}

		public Integer getDcId() {
			return dcId;
		}

		public void setDcId(Integer dcId) {
			this.dcId = dcId;
		}

		public String getSource() {
			return source;
		}

		public void setSource(String source) {
			this.source = source;
		}

		public String getAuthor() {
			return author;
		}

		public void setAuthor(String author) {
			this.author = author;
		}

		public String getReference() {
			return reference;
		}

		public void setReference(String reference) {
			this.reference = reference;
		}

		public int getStatus() {
			return status;
		}

		public void setStatus(int status) {
			this.status = status;
		}
		
}